home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 1
/
Merciful - Disc 1.iso
/
software
/
d
/
devpak
/
devpakv3.01kickstartv1.3b.dms
/
devpakv3.01kickstartv1.3b.adf
/
arp
/
prodocs
/
BaseName
< prev
next >
Wrap
Text File
|
1991-11-20
|
872b
|
67 lines
BaseName(33.4) ARP Programmers Manual BaseName(33.4)
NAME
BaseName - return basename of pathname
SYNOPSIS
basename = BaseName("PathName");
d0 A0
FUNCTION
The basename of a pathname is its last component. For
example, the basename of DF1:FOOBAR is FOOBAR, but the
basename of DF1:Foobar/Doobar/Shobar is Shobar. This
function returns a pointer to the start of the basename
given a valid AmigaDOS path.
INPUTS
PathName - Pointer to a valid pathname.
RESULT
basename - Pointer to start of basename. Note that the
basename ptr may point to the start of PathName.
BUGS
None known.
SEE ALSO
ObtainResidentPrg(), AddResidentPrg(),LoadPrg(),UnLoadPrg(),
CheckSumPrg(), RemResidentPrg().
AUTHOR
SDB
Page 1 (printed 2/22/88)